package cn.atzxc.qy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("address")
public class Address {

  @TableId(value = "address_id", type = IdType.AUTO)
  private long addressId;
  @TableField("user_id")
  private long userId;
  @TableField("recipient_name")
  private String recipientName;
  @TableField("phone_number")
  private long phoneNumber;
  @TableField("province")
  private String province;
  @TableField("city")
  private String city;
  @TableField("district")
  private String district;
  @TableField("university")
  private String university;
  @TableField("campus")
  private String campus;
  @TableField("detail_address")
  private String detailAddress;
  @TableField("is_default")
  private long isDefault;
  @TableField("is_delete")
  private long isDelete;
  //创建时间
  @TableField("create_time")
  private String createTime;
  //更新时间
  @TableField("update_time")
  private String updateTime;







}
